Skip to content

Fixes #12635 - Update and link about_WQL#12665

Merged
michaeltlombardi merged 1 commit intoMicrosoftDocs:mainfrom
sdwheeler:sdw-w545389-i12635-wql
Jan 16, 2026
Merged

Fixes #12635 - Update and link about_WQL#12665
michaeltlombardi merged 1 commit intoMicrosoftDocs:mainfrom
sdwheeler:sdw-w545389-i12635-wql

Conversation

@sdwheeler
Copy link
Copy Markdown
Collaborator

@sdwheeler sdwheeler commented Jan 16, 2026

PR Summary

Update and link about_WQL

PR Checklist

  • Descriptive Title: This PR's title is a synopsis of the changes it proposes.
  • Summary: This PR's summary describes the scope and intent of the change.
  • Contributor's Guide: I have read the contributor's guide.
  • Style: This PR adheres to the style guide.

Copilot AI review requested due to automatic review settings January 16, 2026 13:42
@learn-build-service-prod
Copy link
Copy Markdown
Contributor

PoliCheck Scan Report

The following report lists PoliCheck issues in PR files. Before you merge the PR, you must fix all severity-1 and severity-2 issues. The AI Review Details column lists suggestions for either removing or replacing the terms. If you find a false positive result, mention it in a PR comment and include this text: #policheck-false-positive. This feedback helps reduce false positives in future scans.

✅ No issues found

More information about PoliCheck

Information: PoliCheck | Severity Guidance | Term
For any questions: Try searching the learn.microsoft.com contributor guides or post your question in the Learn support channel.

@learn-build-service-prod
Copy link
Copy Markdown
Contributor

Learn Build status updates of commit 03430c6:

✅ Validation status: passed

File Status Preview URL Details
reference/5.1/CimCmdlets/Get-CimInstance.md ✅Succeeded View (powershell-5.1)
reference/5.1/CimCmdlets/Invoke-CimMethod.md ✅Succeeded View (powershell-5.1)
reference/5.1/CimCmdlets/Register-CimIndicationEvent.md ✅Succeeded View (powershell-5.1)
reference/5.1/CimCmdlets/Remove-CimInstance.md ✅Succeeded View (powershell-5.1)
reference/5.1/CimCmdlets/Set-CimInstance.md ✅Succeeded View (powershell-5.1)
reference/5.1/Microsoft.PowerShell.Core/About/about_WQL.md ✅Succeeded View (powershell-5.1)
reference/7.4/CimCmdlets/Get-CimInstance.md ✅Succeeded View (powershell-7.4)
reference/7.4/CimCmdlets/Invoke-CimMethod.md ✅Succeeded View (powershell-7.4)
reference/7.4/CimCmdlets/Register-CimIndicationEvent.md ✅Succeeded View (powershell-7.4)
reference/7.4/CimCmdlets/Remove-CimInstance.md ✅Succeeded View (powershell-7.4)
reference/7.4/CimCmdlets/Set-CimInstance.md ✅Succeeded View (powershell-7.4)
reference/7.4/Microsoft.PowerShell.Core/About/about_WQL.md ✅Succeeded View (powershell-7.4)
reference/7.5/CimCmdlets/Get-CimInstance.md ✅Succeeded View (powershell-7.5)
reference/7.5/CimCmdlets/Invoke-CimMethod.md ✅Succeeded View (powershell-7.5)
reference/7.5/CimCmdlets/Register-CimIndicationEvent.md ✅Succeeded View (powershell-7.5)
reference/7.5/CimCmdlets/Remove-CimInstance.md ✅Succeeded View (powershell-7.5)
reference/7.5/CimCmdlets/Set-CimInstance.md ✅Succeeded View (powershell-7.5)
reference/7.5/Microsoft.PowerShell.Core/About/about_WQL.md ✅Succeeded View (powershell-7.5)
reference/7.6/CimCmdlets/Get-CimInstance.md ✅Succeeded View (powershell-7.6)
reference/7.6/CimCmdlets/Invoke-CimMethod.md ✅Succeeded View (powershell-7.6)
reference/7.6/CimCmdlets/Register-CimIndicationEvent.md ✅Succeeded View (powershell-7.6)
reference/7.6/CimCmdlets/Remove-CimInstance.md ✅Succeeded View (powershell-7.6)
reference/7.6/CimCmdlets/Set-CimInstance.md ✅Succeeded View (powershell-7.6)
reference/7.6/Microsoft.PowerShell.Core/About/about_WQL.md ✅Succeeded View (powershell-7.6)

For more details, please refer to the build report.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the about_WQL documentation across PowerShell versions 5.1, 7.4, 7.5, and 7.6 to remove deprecated Get-WmiObject references in favor of Get-CimInstance, and adds cross-reference links to this documentation from CIM cmdlet help files.

Changes:

  • Replaced Get-WmiObject examples with Get-CimInstance throughout the about_WQL documentation
  • Removed deprecated references to "Windows PowerShell" in favor of "PowerShell"
  • Added about_WQL links to CIM cmdlet documentation for improved discoverability

Reviewed changes

Copilot reviewed 24 out of 24 changed files in this pull request and generated no comments.

Show a summary per file
File Description
reference/7.6/Microsoft.PowerShell.Core/About/about_WQL.md Updated WQL documentation to use CIM cmdlets, fixed typo "IntallDate", removed Get-WmiObject section, and corrected namespace casing
reference/7.5/Microsoft.PowerShell.Core/About/about_WQL.md Same updates as 7.6 version for consistency
reference/7.4/Microsoft.PowerShell.Core/About/about_WQL.md Same updates as 7.6 version for consistency
reference/5.1/Microsoft.PowerShell.Core/About/about_WQL.md Same updates as 7.6 version, also removed reference to deprecated about_WMI_Cmdlets
reference/7.6/CimCmdlets/*.md Added about_WQL cross-reference links to Get-CimInstance, Set-CimInstance, Remove-CimInstance, Register-CimIndicationEvent, and Invoke-CimMethod
reference/7.5/CimCmdlets/*.md Added about_WQL cross-reference links to CIM cmdlets
reference/7.4/CimCmdlets/*.md Added about_WQL cross-reference links to CIM cmdlets
reference/5.1/CimCmdlets/*.md Added about_WQL cross-reference links to CIM cmdlets
Comments suppressed due to low confidence (4)

reference/7.6/Microsoft.PowerShell.Core/About/about_WQL.md:278

  • The comment states that 'The Get-WmiObject cmdlet runs the query', but the code example below (line 283) uses Get-CimInstance. Update this text to say 'The Get-CimInstance cmdlet runs the query' for consistency.
priority is greater than or equal to 11. The `Get-WmiObject` cmdlet runs the
query.

reference/7.5/Microsoft.PowerShell.Core/About/about_WQL.md:278

  • The comment states that 'The Get-WmiObject cmdlet runs the query', but the code example below (line 283) uses Get-CimInstance. Update this text to say 'The Get-CimInstance cmdlet runs the query' for consistency.
priority is greater than or equal to 11. The `Get-WmiObject` cmdlet runs the
query.

reference/7.4/Microsoft.PowerShell.Core/About/about_WQL.md:278

  • The comment states that 'The Get-WmiObject cmdlet runs the query', but the code example below (line 283) uses Get-CimInstance. Update this text to say 'The Get-CimInstance cmdlet runs the query' for consistency.
priority is greater than or equal to 11. The `Get-WmiObject` cmdlet runs the
query.

reference/5.1/Microsoft.PowerShell.Core/About/about_WQL.md:278

  • The comment states that 'The Get-WmiObject cmdlet runs the query', but the code example below (line 283) uses Get-CimInstance. Update this text to say 'The Get-CimInstance cmdlet runs the query' for consistency.
priority is greater than or equal to 11. The `Get-WmiObject` cmdlet runs the
query.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@michaeltlombardi michaeltlombardi merged commit 01f1236 into MicrosoftDocs:main Jan 16, 2026
12 checks passed
@sdwheeler sdwheeler deleted the sdw-w545389-i12635-wql branch January 16, 2026 15:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update about_WQL content

3 participants